-- GENERATED SPELL FOR [Emissary of Hate] --


function spell0_25003(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(12054,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25003', 15000, 1)
end

function Sorts_25003(pUnit, Event)
local choix_sorts_25003 = math.random(0, 0)
if choix_sorts_25003 == 0 then
pUnit:RegisterEvent('spell0_25003', 1, 1)
end
end

function mob25003_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25003', math.random(1500, 3000), 1)
end

function mob25003_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25003_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25003_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25003, 1, 'mob25003_Action')
RegisterUnitEvent(25003, 2, 'mob25003_Leave')
RegisterUnitEvent(25003, 3, 'mob25003_Kill')
RegisterUnitEvent(25003, 4, 'mob25003_Die')
